package com.wego.converter;

import com.wego.bean.IdName;
import com.wego.entity.domain.Province;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @interfaceName: ProvinceConverter
 * @description: 类型转换类
 * @author: Li Chuanwei
 * @date: 2023/07/12 21:33
 * @Company: Copyright [日期] by [作者或个人]
 **/

@Mapper(componentModel = "spring")
public interface ProvinceConverter {

    List<IdName> provinceList2IdNameList(List<Province> provinceList);

}